CmDocument 
Logical Entity Name  CmDocument 
Default Table Name  CmDocument 
Physical Only  NO 
Definition 
 
Note 
 

CmDocument Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SyStudentID(FK)    int  NO 
 
CmDocTypeID(FK)    int  NO 
 
SyModuleID    int  NO 
 
DateReq    datetime  YES 
 
DateSent    datetime  YES 
 
DateRecv    datetime  YES 
 
DateDue    datetime  YES 
 
DateApproved    datetime  YES 
 
CmDocStatusID(FK)    int  NO 
 
DocumentImage    image  YES 
 
ImageType    char(6)  YES 
 
Scanned    bit  NO 
 
ModFlag    char(1)  NO 
 
Userid    int  NO 
 
DateAdded    datetime  NO 
 
DateLstMod    datetime  NO 
 
ts    timestamp  NO 
 
CmDocumentID(PK)    int  NO 
 
AdEnrollID    int  YES 
 
CmDocScheduleID    int  YES 
 
OriginalFileName    varchar(100)  YES 
 
Comments    varchar(4000)  YES 
 
CmDocumentTranscriptID(FK)    int  YES 
 
DateExpires    datetime  YES 
 
ImageNow_Doc_ID0    varchar(50)  YES 
 
ImageNow_Doc_ID1    varchar(50)  YES 
 
AwardYear    char(7)  YES 
 
AddUserID(FK)    int  YES 
 
PlStudentPlacementID(FK)    int  YES 
 
IsPermit    bit  NO 
 
cmDocumentAddedManually    bit  YES 
 
cmActionsId(FK)    int  YES 
 
WorkflowInstanceId    uniqueidentifier  YES 
 

CmDocument Primary and Unique Keys 
Key Name  Key Type  Keys 
CmDocument_CmDocumentID_U_C_IDX  PrimaryKey  CmDocumentID 

CmDocument Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SyStaff  Non-Identifying  Zero or One to Zero or More  FK_CmDocument_AddUserID_SyStaff_SyStaffID      AddUserID  NO  YES 
CmDocStatus  Non-Identifying  One To Zero or More  FK_CmDocument_CmDocStatusID_CmDocStatus_CmDocStatusID      CmDocStatusID  NO  YES 
CmDocType  Non-Identifying  One To Zero or More  FK_CmDocument_CmDocTypeID_CmDocType_CmDocTypeID      CmDocTypeID  NO  YES 
CmDocumentTranscript  Non-Identifying  Zero or One to Zero or More  FK_CmDocument_CmDocumentTranscriptID_CmDocumentTranscript_CmDocumentTranscriptID      CmDocumentTranscriptID  NO  YES 
PlStudentPlacement  Non-Identifying  Zero or One to Zero or More  FK_CmDocument_PlStudentPlacementID_PlStudentPlacement_PlStudentPlacementID      PlStudentPlacementID  NO  YES 
syStudent  Non-Identifying  One To Zero or More  FK_CmDocument_SyStudentID_syStudent_SyStudentID      SyStudentID  NO  YES 
cmActions  Non-Identifying  Zero or One to Zero or More  FK_cmDocumentCmActionsId_cmActionsCmACtionsId      cmActionsId  NO  YES 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 
AdStudentTransferDocuments  Identifying  One To Zero or More  FK_AdStudentTransferDocuments_CmDocumentID_CmDocument_CmDocumentID        NO  YES 
CmDocumentExternalMap  Non-Identifying  One To Zero or More  FK_CmDocumentExternalMapCmDocumentId_CmDocumentCmDocumentId        NO  YES 
CmDocumentPermit  Non-Identifying  One To Zero or More  FK_CmDocumentPermitCmDocumentID_CmDocumentCmDocumentID        NO  YES 
HSStudentLeaseDocument  Non-Identifying  One To Zero or More  FK_HSStudentLeaseDocument_CmDocumentID_CmDocument_CmDocumentID        NO  YES 
SaReturnOfT4PWD  Non-Identifying  One To Zero or More  FK_SaReturnOfT4PWDCmDocumentID_CmDocumentCmDocumentID        NO  YES 
SyAudit_CmDocument  Non-Identifying  One To Zero or More  FK_SyAudit_CmDocument_CmDocumentD        NO  YES 

CmDocument Check Constraints 
Check Constraint Name  CheckConstraint